package com.junerain.springboot.opservicefeign.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: Junerain
 * @Description:
 * @Date:Created in 15:15 2018/8/3
 * @Modified By:
 */
@FeignClient(value = "server-helloword")
@Service
public interface SchedualServiceHi {

    @RequestMapping(value = "/info",method = RequestMethod.GET)
    String sayHiFromClientOne();
}
